package com.thrift.demo.service;

import org.apache.thrift.TException;

/**
 * @Auther: zhuchunyang
 * @Date: 2019/7/2 18:35
 * @Description:
 */
public class HelloServiceImpl implements Hello.Iface{
    @Override
    public String helloString(String para) throws TException {
        return "hello "+para;
    }

    @Override
    public int helloInt(int para) throws TException {
        return 0;
    }

    @Override
    public boolean helloBoolean(boolean para) throws TException {
        return false;
    }

    @Override
    public void helloVoid() throws TException {

    }

    @Override
    public String helloNull() throws TException {
        return "hello null";
    }
}
